import * as types from './mutation-types'

const mutations = {
  [types.SET_FATHERROUTER] (state, fatherRouter) {
    state.fatherRouter = fatherRouter
  },
  [types.SET_SHOWBAR] (state, showBar) {
    state.showBar = showBar
  },
  [types.SET_WHICHTYPE] (state, whichType) {
    state.whichType = whichType
  },
  [types.SET_PUBLICTOKEN] (state, publicToken) {
    state.publicToken = publicToken
  },
  [types.SET_USERNAME] (state, userName) {
    state.userName = userName
  },
  [types.SET_PASSWORD] (state, passWord) {
    state.passWord = passWord
  },
  [types.SET_USERID] (state, userId) {
    state.userId = userId
  },
  [types.SET_SHOWFLIGHTINFO] (state, showFlightInfo) {
    state.showFlightInfo = showFlightInfo
  },
  [types.SET_FLIGHTINFO] (state, flightInfo) {
    state.flightInfo = flightInfo
  },
  [types.SET_SHOWTIMEINFO] (state, showTimeInfo) {
    state.showTimeInfo = showTimeInfo
  },
  [types.SET_TIMEINFO] (state, timeInfo) {
    state.timeInfo = timeInfo
  },
  [types.SET_SHOWSEARCHBOX] (state, showSearchBox) {
    state.showSearchBox = showSearchBox
  },
  [types.SET_SEARCHBOXINFO] (state, searchBoxInfo) {
    state.searchBoxInfo = searchBoxInfo
  },
  [types.SET_DESTINATION] (state, destination) {
    state.destination = destination
  },
  [types.SET_SHOWEND] (state, showEnd) {
    state.showEnd = showEnd
  },
  [types.SET_PICKTYPE] (state, pickType) {
    state.pickType = pickType
  },
  [types.SET_SHOWTIPS] (state, showTips) {
    state.showTips = showTips
  },
  [types.SET_SHOWCARPOOL] (state, showCarpool) {
    state.showCarpool = showCarpool
  },
  [types.SET_SHOWCANCEL] (state, showCancel) {
    state.showCancel = showCancel
  },
  [types.SET_SHOWNOCALL] (state, showNoCall) {
    state.showNoCall = showNoCall
  },
  [types.SET_CARTYPE] (state, carType) {
    state.carType = carType
  },
  [types.SET_ORDRENAME] (state, orderName) {
    state.orderName = orderName
  },
  [types.SET_ORDERPHONE] (state, orderPhone) {
    state.orderPhone = orderPhone
  },
  [types.SET_SHOWTYPE] (state, showType) {
    state.showType = showType
  },
  [types.SET_SHOWINTYPE] (state, showInType) {
    state.showInType = showInType
  },
  [types.SET_TIME] (state, time) {
    state.time = time
  },
  [types.SET_SONGTIMEINFO] (state, songTimeInfo) {
    state.songTimeInfo = songTimeInfo
  },
  [types.SET_CARSTARTTIME] (state, carStartTime) {
    state.carStartTime = carStartTime
  },
  [types.SET_STARTCOOR] (state, startCoor) {
    state.startCoor = startCoor
  },
  [types.SET_ENDCOOR] (state, endCoor) {
    state.endCoor = endCoor
  },
  [types.SET_USERIMG] (state, userImg) {
    state.userImg = userImg
  },
  [types.SET_SHOWSUCCESS] (state, showSuccess) {
    state.showSuccess = showSuccess
  },
  [types.SET_SHOWDRIVER] (state, showDriver) {
    state.showDriver = showDriver
  },
  [types.SET_DRIVERNAME] (state, driverName) {
    state.driverName = driverName
  },
  [types.SET_DRIVERPHONE] (state, driverPhone) {
    state.driverPhone = driverPhone
  },
  [types.SET_CARMODEL] (state, carModel) {
    state.carModel = carModel
  },
  [types.SET_CARNUM] (state, carNum) {
    state.carNum = carNum
  },
  [types.SET_RATES] (state, rates) {
    state.rates = rates
  },
  [types.SET_RATED] (state, rated) {
    state.rated = rated
  },
  [types.SET_SHOWSTATE] (state, showState) {
    state.showState = showState
  },
  [types.SET_DSITENCE] (state, dsitence) {
    state.dsitence = dsitence
  },
  [types.SET_ARRIVALINFO] (state, arrivalInfo) {
    state.arrivalInfo = arrivalInfo
  },
  [types.SET_SHOWARRIVAL] (state, showArrival) {
    state.showArrival = showArrival
  },
  [types.SET_AUTOCOMPLETELIST] (state, AutocompleList) {
    state.autocompleteList = AutocompleList
  },
  [types.SET_SHOWNAVBAR] (state, showNavbar) {
    state.showNavbar = showNavbar
  },
  [types.SET_SHOWCHANGENAV] (state, showChangeNav) {
    state.showChangeNav = showChangeNav
  },
  [types.SET_NOWTIMES] (state, nowtimes) {
    state.nowtimes = nowtimes
  },
  [types.SET_UPADDRESS] (state, upAddress) {
    state.upAddress = upAddress
  },
  [types.SET_DOWNADDRESS] (state, downAddress) {
    state.downAddress = downAddress
  },
  [types.SET_WAITTIME] (state, waitTime) {
    state.waitTime = waitTime
  }

}

export default mutations
